
    import {
        DIC
    } from '@/const/dic';
    import Store from '../../store/';
    const allPermission = Store.state.user.permission;
    const isAdmin = Store.state.user.userInfo.superAdmin;
    export const goodsShareLogTableOption = {
        border: false,
        dateBtn:true,
        dateDefault:false,
        index: false,
        selection: false,
        calcHeight: 400,
        columnBtn:false,
        searchClearable: false,
        selectClearBtn: false,
        searchResetBtn: false,
        height:"auto",
        menu: false,
        menuAlign: "center",
        searchBtn: true,
        labelWidth: 120,
        refreshBtn: true,
        tip:false,
        addBtn: false,
        dialogWidth: '800px',
        dialogHeight: 'auto',
        menuWidth: 180,
        editBtn: false,
        viewBtn: false,
        delBtn: false,
        column: [
    {
        "label": "商品名称",
        "prop": "goodsTitle",
        "search": true,
        "type": "text",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false
    },
    {
        "label": "商品规格",
        "prop": "goodsSaleProps",
        "search": false,
        "type": "select",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false         
    },
    {
        "label": "订单号",
        "prop": "orderItemNo",
        "search": false,
        "type": "select",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false
    },
    {
        "label": "分享者昵称",
        "prop": "shareUserNickname",
        "search": false,
        "type": "text",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false
    },
    {
        "label": "分享者手机号",
        "prop": "shareUserTelephone",
        "search": true,
        "type": "text",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false
    },
    {
        "label": "直播间编号",
        "prop": "videoChannelNo",
        "search": false,
        "type": "text",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false,
        "rules": [
            {
                "required": true,
                "message": "请输入直播间编号",
                "trigger": "blur"
            }
        ]
    },
    {
        "label": "主播姓名",
        "prop": "anchorRealName",
        "search": true,
        "type": "text",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false,
        "rules": [
            {
                "required": true,
                "message": "请输入直播间编号",
                "trigger": "blur"
            }
        ]
    },
    {
        "label": "主播手机号",
        "prop": "anchorTelephone",
        "search": true,
        "type": "text",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false,
        "rules": [
            {
                "required": true,
                "message": "请输入直播间编号",
                "trigger": "blur"
            }
        ]
    },
    {
        "label": "购买者昵称",
        "prop": "buyerNickname",
        "search": false,
        "type": "select",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false
    },
    {
        "label": "奖励金额",
        "prop": "shareAmount",
        "search": false,
        "type": "number",
        "fixed": false,
        "width": "auto",
        "row": false,
        "minWidth": "120",
        "readonly": false,
        "span": 12,
        "display": true,
        "hide": false,
        "rules": [
            {
                "required": true,
                "message": "请输入奖励金额",
                "trigger": "blur"
            }
        ]
    },
    {
        "label": "分享成功时间",
        "prop": "createTime",
        "search": false,
        "type": "datetime",
        "fixed": false,
        "width": "170",
        "row": false,
        "readonly": false,
        "span": 12,
        "display": false,
        "hide": false,
        "format": "yyyy-MM-dd HH:mm:ss",
        "valueFormat": "yyyy-MM-dd HH:mm:ss"
    }
]
    };
